﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;

namespace BUS
{  
    public class MaTuDongBUS
    {       
        public static List<MaTuDong> loadAll()
        {
            return MaTuDongDAO.loadAll();
        }

        public static string layMA(LOAIMATUDONG loai)
        {
            return MaTuDongDAO.layMA(loai);
        }

        public static bool capNhatMa(string ma, LOAIMATUDONG loai)
        {            
            return MaTuDongDAO.capNhatMa(ma, loai);
        }
    }
}
